home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / develop™ Technical Journal / develop Issue 16 code / CollaboDraw.sea / CollaboDraw / myevents.h < prev    next >
MacBinary  |  1993-08-24  |  1.5 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Tue Aug 24 15:23:55 1993, modified Tue Aug 24 15:23:55 1993, creator 'MPS ', type ASCII, 874 bytes "myevents.h" , at 0x3ea 428 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 6d 79 65 76 65 6e | 74 73 2e 68 00 00 00 00 |..myeven|ts.h....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 03 6a 00 | 00 01 ac a8 a0 1b 4b a8 |......j.|......K.|
|00000060| a0 1b 4b 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..K.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 7b d9 00 00 |........|....{...|
|00000080| 76 6f 69 64 20 4d 61 69 | 6e 4c 6f 6f 70 28 76 6f |void Mai|nLoop(vo|
|00000090| 69 64 29 3b 0d 6c 6f 6e | 67 20 53 6c 65 65 70 54 |id);.lon|g SleepT|
|000000a0| 69 6d 65 28 76 6f 69 64 | 29 3b 0d 0d 76 6f 69 64 |ime(void|);..void|
|000000b0| 20 48 61 6e 64 6c 65 46 | 69 78 43 75 72 73 6f 72 | HandleF|ixCursor|
|000000c0| 28 50 6f 69 6e 74 20 77 | 68 65 72 65 2c 52 67 6e |(Point w|here,Rgn|
|000000d0| 48 61 6e 64 6c 65 20 74 | 68 65 52 67 6e 29 3b 0d |Handle t|heRgn);.|
|000000e0| 76 6f 69 64 20 48 61 6e | 64 6c 65 49 64 6c 65 28 |void Han|dleIdle(|
|000000f0| 57 69 6e 64 6f 77 50 74 | 72 20 77 69 6e 64 6f 77 |WindowPt|r window|
|00000100| 29 3b 0d 76 6f 69 64 20 | 50 72 6f 63 65 73 73 45 |);.void |ProcessE|
|00000110| 76 65 6e 74 28 45 76 65 | 6e 74 52 65 63 6f 72 64 |vent(Eve|ntRecord|
|00000120| 20 2a 65 76 29 3b 0d 76 | 6f 69 64 20 48 61 6e 64 | *ev);.v|oid Hand|
|00000130| 6c 65 53 52 45 76 74 28 | 50 6f 69 6e 74 20 77 68 |leSREvt(|Point wh|
|00000140| 65 72 65 2c 6c 6f 6e 67 | 20 6d 65 73 73 61 67 65 |ere,long| message|
|00000150| 29 3b 0d 0d 76 6f 69 64 | 20 48 61 6e 64 6c 65 41 |);..void| HandleA|
|00000160| 63 74 69 76 61 74 65 73 | 28 45 76 65 6e 74 52 65 |ctivates|(EventRe|
|00000170| 63 6f 72 64 20 2a 65 76 | 29 3b 0d 76 6f 69 64 20 |cord *ev|);.void |
|00000180| 44 6f 41 63 74 69 76 61 | 74 65 28 57 69 6e 64 6f |DoActiva|te(Windo|
|00000190| 77 50 74 72 20 77 69 6e | 64 6f 77 2c 42 6f 6f 6c |wPtr win|dow,Bool|
|000001a0| 65 61 6e 20 63 68 46 6c | 61 67 29 3b 0d 76 6f 69 |ean chFl|ag);.voi|
|000001b0| 64 20 44 6f 44 65 41 63 | 74 69 76 61 74 65 28 57 |d DoDeAc|tivate(W|
|000001c0| 69 6e 64 6f 77 50 74 72 | 20 77 69 6e 64 6f 77 2c |indowPtr| window,|
|000001d0| 42 6f 6f 6c 65 61 6e 20 | 63 68 46 6c 61 67 29 3b |Boolean |chFlag);|
|000001e0| 0d 0d 76 6f 69 64 20 48 | 61 6e 64 6c 65 55 70 64 |..void H|andleUpd|
|000001f0| 61 74 65 73 28 57 69 6e | 64 6f 77 50 74 72 20 77 |ates(Win|dowPtr w|
|00000200| 69 6e 64 6f 77 29 3b 0d | 0d 76 6f 69 64 20 48 61 |indow);.|.void Ha|
|00000210| 6e 64 6c 65 4b 65 79 44 | 6f 77 6e 73 28 45 76 65 |ndleKeyD|owns(Eve|
|00000220| 6e 74 52 65 63 6f 72 64 | 20 2a 65 76 29 3b 0d 0d |ntRecord| *ev);..|
|00000230| 76 6f 69 64 20 48 61 6e | 64 6c 65 4d 6f 75 73 65 |void Han|dleMouse|
|00000240| 44 6f 77 6e 73 28 45 76 | 65 6e 74 52 65 63 6f 72 |Downs(Ev|entRecor|
|00000250| 64 20 2a 65 76 29 3b 0d | 76 6f 69 64 20 44 6f 44 |d *ev);.|void DoD|
|00000260| 72 61 67 28 57 69 6e 64 | 6f 77 50 74 72 20 77 69 |rag(Wind|owPtr wi|
|00000270| 6e 64 6f 77 2c 50 6f 69 | 6e 74 20 67 6c 6f 62 4d |ndow,Poi|nt globM|
|00000280| 6f 75 73 65 29 3b 0d 76 | 6f 69 64 20 44 6f 47 72 |ouse);.v|oid DoGr|
|00000290| 6f 77 28 57 69 6e 64 6f | 77 50 74 72 20 77 69 6e |ow(Windo|wPtr win|
|000002a0| 64 6f 77 2c 50 6f 69 6e | 74 20 67 6c 6f 62 4d 6f |dow,Poin|t globMo|
|000002b0| 75 73 65 29 3b 0d 76 6f | 69 64 20 44 6f 5a 6f 6f |use);.vo|id DoZoo|
|000002c0| 6d 28 57 69 6e 64 6f 77 | 50 74 72 20 77 69 6e 64 |m(Window|Ptr wind|
|000002d0| 6f 77 2c 73 68 6f 72 74 | 20 70 61 72 74 29 3b 0d |ow,short| part);.|
|000002e0| 76 6f 69 64 20 44 6f 43 | 6f 6e 74 65 6e 74 43 6c |void DoC|ontentCl|
|000002f0| 69 63 6b 28 57 69 6e 64 | 6f 77 50 74 72 20 77 69 |ick(Wind|owPtr wi|
|00000300| 6e 64 6f 77 2c 45 76 65 | 6e 74 52 65 63 6f 72 64 |ndow,Eve|ntRecord|
|00000310| 20 2a 65 76 29 3b 0d 0d | 76 6f 69 64 20 44 6f 4d | *ev);..|void DoM|
|00000320| 65 6e 75 43 6f 6d 6d 61 | 6e 64 28 6c 6f 6e 67 20 |enuComma|nd(long |
|00000330| 6d 52 65 73 75 6c 74 29 | 3b 0d 0d 4f 53 45 72 72 |mResult)|;..OSErr|
|00000340| 20 48 61 6e 64 6c 65 4f | 70 65 6e 44 6f 63 28 42 | HandleO|penDoc(B|
|00000350| 6f 6f 6c 65 61 6e 20 64 | 69 73 6b 46 6f 72 6d 2c |oolean d|iskForm,|
|00000360| 20 46 53 53 70 65 63 20 | 2a 66 53 70 65 63 2c 20 | FSSpec |*fSpec, |
|00000370| 4c 65 74 74 65 72 53 70 | 65 63 20 2a 6c 53 70 65 |LetterSp|ec *lSpe|
|00000380| 63 29 3b 0d 4f 53 45 72 | 72 20 48 61 6e 64 6c 65 |c);.OSEr|r Handle|
|00000390| 50 72 69 6e 74 44 6f 63 | 28 42 6f 6f 6c 65 61 6e |PrintDoc|(Boolean|
|000003a0| 20 64 69 73 6b 46 6f 72 | 6d 2c 20 46 53 53 70 65 | diskFor|m, FSSpe|
|000003b0| 63 20 2a 66 53 70 65 63 | 2c 20 4c 65 74 74 65 72 |c *fSpec|, Letter|
|000003c0| 53 70 65 63 20 2a 6c 53 | 70 65 63 29 3b 0d 0d 42 |Spec *lS|pec);..B|
|000003d0| 6f 6f 6c 65 61 6e 20 45 | 78 69 74 50 72 6f 67 72 |oolean E|xitProgr|
|000003e0| 61 6d 28 76 6f 69 64 29 | 3b 0d 00 00 00 00 00 00 |am(void)|;.......|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00000410| 0d 09 69 66 20 28 65 72 | 72 21 3d 6e 6f 45 72 72 |..if (er|r!=noErr|
|00000420| 29 0d 09 09 72 65 74 75 | 72 6e 20 65 72 72 3b 0d |)...retu|rn err;.|
|00000430| 0a 6d 79 65 76 65 6e 74 | 73 2e 68 00 02 00 00 00 |.myevent|s.h.....|
|00000440| 54 45 58 54 4d 50 53 20 | 01 00 00 14 01 20 00 00 |TEXTMPS |..... ..|
|00000450| 00 00 54 45 58 54 4d 50 | 53 20 01 00 00 14 01 20 |..TEXTMP|S ..... |
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 a5 3e 4c 01 00 00 | 03 6a 00 00 01 ac 74 3b |...>L...|.j....t;|
|00000480| 20 69 6e 64 65 78 2b 2b | 29 20 7b 0d 09 09 65 72 | index++|) {...er|
|00000490| 72 20 3d 20 41 45 47 65 | 74 53 69 7a 65 4f 66 4e |r = AEGe|tSizeOfN|
|000004a0| 74 68 49 74 65 6d 28 26 | 64 6f 63 4c 69 73 74 2c |thItem(&|docList,|
|000004b0| 20 69 6e 64 65 78 2c 20 | 26 72 65 74 75 72 6e 65 | index, |&returne|
|000004c0| 64 54 79 70 65 2c 20 26 | 73 69 7a 65 29 3b 0d 09 |dType, &|size);..|
|000004d0| 09 69 66 20 28 65 72 72 | 21 3d 6e 6f 45 72 72 29 |.if (err|!=noErr)|
|000004e0| 0d 09 09 09 72 65 74 75 | 72 6e 20 65 72 72 3b 0d |....retu|rn err;.|
|000004f0| 09 09 69 66 20 28 72 65 | 74 75 72 6e 65 64 54 79 |..if (re|turnedTy|
|00000500| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 53 65 71 |...H..Mo|naco.Seq|
|00000510| 75 65 6e 63 65 4e 75 6d | 09 09 73 65 71 4e 75 6d |uenceNum|..seqNum|
|00000520| 3b 0d 7d 3b 0d 0d 00 06 | 00 04 01 18 00 00 03 63 |;.};....|.......c|
|00000530| 04 3d 01 18 00 00 03 63 | 04 3d a6 32 c9 90 00 00 |.=.....c|.=.2....|
|00000540| 00 18 00 00 00 18 00 00 | 00 00 01 00 00 00 00 1e |........|........|
|00000550| 01 18 00 00 03 63 04 3d | 01 18 00 00 03 63 04 3d |.....c.=|.....c.=|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 00 c6 |.....n..|.n...>..|
|00000580| 4b 08 0d f6 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |K.......|.>..MPSR|
|00000590| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 03 f0 ff ff 00 00 00 4c | 00 c8 48 94 00 00 00 00 |.......L|..H.....|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+